<template>
  <div class="hm-button" @click="clickFn">
    <slot></slot>
  </div>
</template>

<script>
export default {
  methods: {
    clickFn() {
      this.$emit("click");
    }
  }
};
</script>

<style lang="less" scoped>
.hm-button {
  margin: 20px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  color: #fff;
  border-radius: 25px;
  background-color: rgb(216, 30, 6);
}
</style>
